package top.whysu.study.thinkinjava.chapter8.polymorphism.ex1;

/**
 * 脚踏车
 */
public class BiCycle extends Cycle{
    private String name = "BiCycle";

    private int sum = 3;

    @Override
    public String toString() {
        return this.name;
    }

    @Override
    public int wheels() {
        return sum;
    }
}